package com.example.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.mapper.UserMapper;
import com.example.mapper.WorkPlanMapper;
import com.example.pojo.PageBean;
import com.example.pojo.User;
import com.example.pojo.WorkPlan;
import com.example.service.WorkPlanService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class WorkPlanServiceImpl extends ServiceImpl<WorkPlanMapper, WorkPlan> implements WorkPlanService {

    @Autowired
    private WorkPlanMapper planMapper;
    @Override
    public PageBean<WorkPlan> getPage(Object o, Integer currentPage, Integer pageSize) {
        Integer page = (currentPage - 1) * pageSize;
//        List<User> userList = planMapper.selectUserWithRolesAndPage(uid,page,pageSize);

//        return new PageBean<>(currentPage,pageSize,count(),userList);
        return null;
    }
}
